(function() {
  if (document.location.origin === 'https://edu.inspur.com') {
    console.log('I am learning!')
    var autoInterval = setInterval(function () {

      // var progress = document.getElementById('ScheduleText').innerText
      // if (progress === '100%') {
      //   console.log(`learning progress is ${progress}, PEACE OUT!`)
      //   autoInterval && clearInterval(autoInterval)
      //   return
      // }
      var btn = document.getElementById('reStartStudy')
      if (btn) {
        myMousedown = true;
        removeWarningHtml && removeWarningHtml();
        console.log('Remove waning, auto learning now!')
      }
    }, 10*1000)
  }
})();